package se.webbzon.boltzmann.game.sequence.builder;

import java.nio.ByteBuffer;

public interface SequenceRowDeflation {
	
	/*============================================================
	Public Methods
	============================================================*/
	
	/** Modifies the content of the sequence row deflation by loading data 
	 * from the provided byte buffer. **/
	public abstract void inflate(ByteBuffer buffer);
	
	/** Stores the content of the sequence row deflation in a byte buffer. 
	 * The returned byte buffer must at least be able to accept another 
	 * amount of bytes given by the parameter "allocate". Bindings and
	 * links should not be stored in the byte buffer - these will be
	 * handled separately. **/
	public abstract ByteBuffer deflate(int allocate);

}
